/**
 * 
 */
package com.gopay.common.domain.cps.vo;

import java.util.Date;

import com.gopay.common.domain.BaseEntity;
import com.gopay.common.domain.cps.CpsBtCheckInInfo;
import com.gopay.common.domain.cps.CpsBtCheckInLog;

/**
 * @CpsBtCheckInVo.java
 * @author xiefei
 * @2013-1-22 上午11:58:26 www.gopay.com.cn Inc.All rights reserved.
 */
public class CpsBtCheckInVo extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /**
     * 日志流水号
     */
    private int logSq;

    /**
     * 网关交易流水号
     */
    private int pgTransDtlSq;

    /**
     * 登记流水号
     */
    private int checkInSq;

    /**
     * 登记状态 1 - 已签到 2 - 已签退
     */
    private String checkInType;

    /**
     * 创建时间
     */
    private Date createdTs;

    /**
     * 记录最后修改时间
     */
    private Date lastUpdTs;

    /**
     * 最后修改交易码
     */
    private String lastUpdTranCode;

    /**
     * 发起时间
     */
    private Date launchTime;

    /**
     * 交易市场客户ID
     */
    private String marketCustId;

    /**
     * 交易市场账户
     */
    private String markerAcct;

    public String getMarketCustId() {
        return marketCustId;
    }

    public void setMarketCustId(String marketCustId) {
        this.marketCustId = marketCustId;
    }

    public String getMarkerAcct() {
        return markerAcct;
    }

    public void setMarkerAcct(String markerAcct) {
        this.markerAcct = markerAcct;
    }

    public int getLogSq() {
        return logSq;
    }

    public void setLogSq(int logSq) {
        this.logSq = logSq;
    }

    public int getPgTransDtlSq() {
        return pgTransDtlSq;
    }

    public void setPgTransDtlSq(int pgTransDtlSq) {
        this.pgTransDtlSq = pgTransDtlSq;
    }

    public int getCheckInSq() {
        return checkInSq;
    }

    public void setCheckInSq(int checkInSq) {
        this.checkInSq = checkInSq;
    }

    public String getCheckInType() {
        return checkInType;
    }

    public void setCheckInType(String checkInType) {
        this.checkInType = checkInType;
    }

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    public String getLastUpdTranCode() {
        return lastUpdTranCode;
    }

    public void setLastUpdTranCode(String lastUpdTranCode) {
        this.lastUpdTranCode = lastUpdTranCode;
    }

    public Date getLaunchTime() {
        return launchTime;
    }

    public void setLaunchTime(Date launchTime) {
        this.launchTime = launchTime;
    }
    
    public CpsBtCheckInVo() {
    }

    public CpsBtCheckInVo(CpsBtCheckInLog checkInLog, CpsBtCheckInInfo checkInInfo) {
        setLogSq(checkInLog.getLogSq());
        setCheckInSq(checkInLog.getCheckInSq());
        setCheckInType(checkInLog.getCheckInType());
        setCreatedTs(checkInLog.getCreatedTs());
        setLastUpdTranCode(checkInLog.getLastUpdTranCode());
        setLastUpdTs(checkInLog.getLastUpdTs());
        setLaunchTime(checkInLog.getLaunchTime());
        setPgTransDtlSq(checkInLog.getPgTransDtlSq());
        this.markerAcct = checkInInfo.getMarkerAcct();
        this.marketCustId = checkInInfo.getMarketCustId();
    }

}
